{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}
<div id="get-started" class="wizard-content col-md-9">
  <h4 class="step-title">{{t installer.step0.body.header}}</h4>
  <p class="step-description">{{t installer.step0.body}}</p>

  <div class="panel panel-default">
    <div class="panel-body">
      <div {{bindAttr class="view.onError:has-error :form-group"}}>
        <label class="control-label" for="cluster-name" {{QAAttr "cluster-name-inscription"}}>{{t installer.step0.clusterName}}
          <a href="javascript:void(null)"
           rel="popover"
            {{QAAttr "cluster-name-tooltip"}}
            {{translateAttr title="installer.step0.clusterName.tooltip.title"
            data-content="installer.step0.clusterName.tooltip.content"}}>{{t common.learnMore}}</a>
        </label>

        <div>
          <div class="col-sm-3 cluster-name-input">
            {{view App.WizardStep0ViewClusterNameInput id="cluster-name" valueBinding="content.cluster.name" placeholder="CLUSTER NAME" target="controller" classNames="form-control" data-qa="cluster-name-input"}}
          </div>
          {{#if clusterNameError}}
            <p class="help-block validation-block col-sm-9"  {{QAAttr "cluster-name-validation"}}>{{clusterNameError}}</p>
          {{/if}}
        </div>
      </div>
    </div>
  </div>
</div>

<div class="wizard-footer col-md-12 btn-area">
  {{template "templates/wizard/installer_cancel_button"}}
  <button type="button" class="btn btn-success pull-right" {{QAAttr "wizard-next"}} {{bindAttr disabled="isSubmitDisabled"}} {{action "submit" target="controller"}}>
    {{#if App.router.nextBtnClickInProgress}}
        {{view App.SpinnerView tagName="span" classNames="service-button-spinner"}}
    {{/if}}
    {{t common.next}} &rarr;
  </button>
</div>


